import Vue from 'vue'
import App from './App.vue'
import {
	Dropdown,
	DropdownMenu,
	DropdownItem,
	Row,
	Col,
	Card,
	Tag,
	Pagination,
	Form,
	FormItem,
	Input,
	Select,
	Option,
	DatePicker,
	Checkbox,
	CheckboxGroup,
	Radio,
	RadioGroup,
	RadioButton,
	Button,
	Upload,
	Table,
	TableColumn,
	Dialog,
	Icon,
	Message,
	MessageBox,
	Carousel,
	CarouselItem,
	Tree,
	Tabs,
	TabPane,
	InputNumber,
	Descriptions,
	DescriptionsItem,
	Popover,
	Loading
} from "element-ui";
import '@/assets/fonts/fontFamily.css';
import '@/assets/style/reset.css'
import '@/assets/style/common.less'
import "@/assets/style/element-ui.less";
import '@/assets/style/form-style.less'
//富文本编辑器
import '@/assets/style/quillEditor.css';
const echarts = require('echarts');
import router from './router'
import store from "./store";
import moment from "moment"
import "./assets/style/main.less";

moment.locale('zh-cn');
Vue.prototype.$moment = moment;
Vue.prototype.$message=Message;
Vue.prototype.$confirm = MessageBox.confirm;
Vue.use(Dropdown);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Row);
Vue.use(Col);
Vue.use(Card);
Vue.use(Tag);
Vue.use(Form);
Vue.use(FormItem);
Vue.use(Input);
Vue.use(Select);
Vue.use(Option);
Vue.use(DatePicker);
Vue.use(Checkbox);
Vue.use(CheckboxGroup)
Vue.use(Radio);
Vue.use(RadioGroup)
Vue.use(RadioButton)
Vue.use(Button)
Vue.use(Pagination);
Vue.use(Upload);
Vue.use(Table);
Vue.use(TableColumn);
Vue.use(Dialog);
Vue.use(Icon);
Vue.use(Carousel);
Vue.use(CarouselItem);
Vue.use(Tree);
Vue.use(InputNumber)
Vue.use(Descriptions);
Vue.use(DescriptionsItem);
Vue.use(Tabs);
Vue.use(TabPane);
Vue.use(Popover);
Vue.use(Loading);
Vue.config.productionTip = false;
Vue.prototype.$echarts = echarts;

const bus = new Vue();
Vue.prototype.$bus = bus;

new Vue({
  router,
	store,
  render: h => h(App),
}).$mount('#app')
